package com.example.eback.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
@Data
public class OrganInfo {

    @Id
    @Column(name="id")
    private int organId;
    @Column(name="history_id")
    private int historyId;
    @Column(name="organ_name")
    private String organName;
    @Column(name="Diameter_X")
    private Double diameterX;
    @Column(name="Diameter_Y")
    private Double diameterY;
    @Column(name="Diameter_ Z")
    private Double diameterZ;
    @Column(name="Volunm")
    private Double volume;
    @Column(name="Area")
    private Double area;
    @Column(name="Flatness")
    private Double flatness;
    @Column(name="Elongation")
    private Double elongation;

}
